package com.web.entity;

/**
 * @author: XiangHu
 * @date: 2025年03月07日 15:08
 * @describe:
 */
public class PageVO {

    // 当前页数
    private int current;
    // 每页大小
    private int pageSize;
    // 数据总量
    private int total;
    // 数据集合
    private Object data;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public PageVO() {
    }

    public PageVO(int current, int pageSize, int total, Object data) {
        this.current = current;
        this.pageSize = pageSize;
        this.total = total;
        this.data = data;
    }
}
